QuickOPC User's Guide and Reference
GetDiscreteItemNode<TValue>(UAModelClient,UAEndpointDescriptor,UANodeDescriptor) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataAccess.Extensions Namespace > UAModelClientExtension Class > GetDiscreteItemNode Method : GetDiscreteItemNode<TValue>(UAModelClient,UAEndpointDescriptor,UANodeDescriptor) Method
The type of the value of the node.
The OPC-UA model client.
Endpoint descriptor. Identifies the OPC-UA server.
Node descriptor. Identifies the node in OPC server's address space.
Syntax
'Declaration
 
<ExtensionAttribute()>
<NotNullAttribute()>
Public Overloads Shared Function GetDiscreteItemNode(Of TValue)( _
   ByVal modelClient As UAModelClient, _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal nodeDescriptor As UANodeDescriptor _
) As UADiscreteItemNode(Of TValue,TValue)
'Usage
 
Dim modelClient As UAModelClient
Dim endpointDescriptor As UAEndpointDescriptor
Dim nodeDescriptor As UANodeDescriptor
Dim value As UADiscreteItemNode(Of TValue,TValue)
 
value = UAModelClientExtension.GetDiscreteItemNode(Of TValue)(modelClient, endpointDescriptor, nodeDescriptor)

Parameters

modelClient
The OPC-UA model client.
endpointDescriptor
Endpoint descriptor. Identifies the OPC-UA server.
nodeDescriptor
Node descriptor. Identifies the node in OPC server's address space.

Type Parameters

TValue
The type of the value of the node.

Return Value

Returns the discrete item node obtained from the model client.
Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

UAModelClientExtension Class
UAModelClientExtension Members
Overload List